<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>File Source for index.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
											</head>
		<body>
						<h1>Source for file index.php</h1>
<p>Documentation is available at <a href="../Rho/Rho-app/_www---index.php.html">index.php</a></p>
<div class="src-code">
<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php">&lt;?php</span></div></li>
<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**&nbsp;Site&nbsp;homepage.</span></div></li>
<li><div class="src-line"><a name="a3"></a><span class="src-doc">*</span></div></li>
<li><div class="src-line"><a name="a4"></a><span class="src-doc">*&nbsp;Includes&nbsp;a&nbsp;sample&nbsp;controller.</span></div></li>
<li><div class="src-line"><a name="a5"></a><span class="src-doc">*&nbsp;</span><span class="src-doc-coretag">@package</span><span class="src-doc">&nbsp;Rho</span></div></li>
<li><div class="src-line"><a name="a6"></a><span class="src-doc">*&nbsp;</span><span class="src-doc-coretag">@subpackage</span><span class="src-doc">&nbsp;Rho-app</span></div></li>
<li><div class="src-line"><a name="a7"></a><span class="src-doc">*&nbsp;</span><span class="src-doc-coretag">@filesource</span><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a8"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a9"></a><span class="src-doc">/**&nbsp;Load&nbsp;the&nbsp;core&nbsp;library&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a10"></a><span class="src-inc">require_once&nbsp;</span><span class="src-str">'../rho/core.inc.php'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a11"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a12"></a><span class="src-doc">/**&nbsp;Sample&nbsp;Controller&nbsp;for&nbsp;the&nbsp;site&nbsp;homepage.</span></div></li>
<li><div class="src-line"><a name="a13"></a><span class="src-doc">*&nbsp;</span><span class="src-doc-coretag">@package</span><span class="src-doc">&nbsp;Rho</span></div></li>
<li><div class="src-line"><a name="a14"></a><span class="src-doc">*&nbsp;</span><span class="src-doc-coretag">@subpackage</span><span class="src-doc">&nbsp;Rho-app&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a15"></a><span class="src-key">class&nbsp;</span><a href="../Rho/Rho-app/Home_Controller.html">Home_Controller</a>&nbsp;<span class="src-key">extends&nbsp;</span><a href="../Rho/Rho_HTML_Controller.html">Rho_HTML_Controller</a><span class="src-sym">{</span></div></li>
<li><div class="src-line"><a name="a16"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a17"></a>&nbsp;&nbsp;<span class="src-key">public&nbsp;</span><a href="../Rho/Rho-app/Home_Controller.html#var$title">$title</a>=<span class="src-str">'Home'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a18"></a>&nbsp;&nbsp;<span class="src-key">public&nbsp;</span><a href="../Rho/Rho-app/Home_Controller.html#var$description">$description</a>=<span class="src-str">'Homepage'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a19"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a20"></a>&nbsp;&nbsp;<span class="src-doc">/**&nbsp;Displays&nbsp;'Hello&nbsp;World'.</span></div></li>
<li><div class="src-line"><a name="a21"></a><span class="src-doc">&nbsp;&nbsp;*&nbsp;You&nbsp;should&nbsp;edit&nbsp;this&nbsp;method&nbsp;so&nbsp;it&nbsp;displays&nbsp;the&nbsp;site's&nbsp;homepage.*/</span></div></li>
<li><div class="src-line"><a name="a21"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a22"></a>&nbsp;&nbsp;<span class="src-key">public&nbsp;</span><span class="src-key">function&nbsp;</span><a href="../Rho/Rho-app/Home_Controller.html#methodindex">index</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">{</span></div></li>
<li><div class="src-line"><a name="a23"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><a href="../Rho/Rho_HTML_Controller.html#methodloadHeader">loadHeader</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a24"></a>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<span class="src-str">'Hello&nbsp;World'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a25"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><a href="../Rho/Rho_HTML_Controller.html#methodloadFooter">loadFooter</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a26"></a>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<span class="src-str">'Memory&nbsp;Peak:&nbsp;'</span>.<span class="src-sym">(</span><a href="http://www.php.net/round">round</a><span class="src-sym">(</span><a href="http://www.php.net/memory_get_peak_usage">memory_get_peak_usage</a><span class="src-sym">(</span><span class="src-id">TRUE</span><span class="src-sym">)</span>/<span class="src-num">1024</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">))</span>.<span class="src-str">&quot;&nbsp;Kb&lt;br&nbsp;/&gt;\n&quot;</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a27"></a>&nbsp;&nbsp;<span class="src-sym">}</span></div></li>
<li><div class="src-line"><a name="a28"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a29"></a><span class="src-sym">}</span></div></li>
<li><div class="src-line"><a name="a30"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a31"></a><span class="src-id"><a href="../Rho/Rho.html">Rho</a></span><span class="src-sym">::</span><a href="../Rho/Rho.html#methodinit">init</a><span class="src-sym">(</span><span class="src-str">'Home'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></div>
</div>
	<p class="notes" id="credit">
		Documentation generated on Tue, 13 Oct 2009 19:17:25 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</body>
</html>